#ifndef LOGGER_HPP
#define LOGGER_HPP

#include <sstream>

//===============================================================
// Logging utility
//===============================================================

struct Logger : public std::stringstream
{
	std::string m_logFilePath;
	bool m_enabled;

public:
	Logger(const std::string & outputDir = "");
	bool setPath(const std::string & outputDir);
	virtual ~Logger() {}

	void flush();
};

#endif // LOGGER_HPP
